package Page
{
	public class PageLine
	{
		private var _index:int;
		private var _istart:int;
		private var _length:int;
		
		public function PageLine( index:int, pstart:int, plength:int )
		{
			_index = index;
			_istart = pstart;
			_length = plength;
		}

		public function get StartIndex():int {
			return _istart;
		}
		
		public function get length():int {
			return _length;
		}
		
		public function get PageIndex():int {
			return _index;
		}
		
		public function getText(s:String):String {
			return s.substr(_istart, _length);
		}
	}
}